﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace HpxWMS_Api.Entities
{
    public class HpxWMSContext:DbContext
    {
        public HpxWMSContext() : base("server=.;database=HpxWMS;user=sa;password=123456;")
        {
            
        }
        /// <summary>
        /// 用户
        /// </summary>
        public DbSet<User> Users { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public DbSet<Warehouse> Warehouses { get; set; }
    }
}